#ifndef VEC4_H
#define VEC4_H

#include "Vec3.h"

namespace Engine
{
	class Vec4
	{
		public:
			float x, y, z, w;

			Vec4(float _x = 0.0f, float _y = 0.0f, float _z = 0.0f, float _w = 1.0f): x(_x), y(_y), z(_z), w(_w){}
			Vec4(const Vec3& v):x(v.x), y(v.y), z(v.z), w(1.0f){}

			Vec4& operator=(const Vec3& rhs)
			{
				x = rhs.x;
				y = rhs.y; 
				z = rhs.z;
				w = 1.0f;
			}
	};
}

#endif